/*
 * Copyright 2000-2020 ALPHA LAB.Inc All Rights Reserved.
 */
package com.alphalab.framework.domain;

import java.util.Map;

/**
 * 包含了hql和条件集合的查询条件对象，用于数据层.
 * @author allen 
 * @version 1.0.0 2017年7月10日
 */
public class QueryOption {
	 
	/**
	 * hql语句，包括where条件.
	 */
	private String hql; 
	
	/**
	 * 条件键值对集合.
	 */
	private Map<String, Object> param;
	
	/**
	 * getHql.
	 * @return the hql
	 */
	public String getHql() {
		return hql;
	}
	
	/**
	 * setHql.
	 * @param newHql the hql to set
	 */
	public void setHql(final String newHql) {
		this.hql = newHql;
	}
	
	/**
	 * getParam.
	 * @return the param
	 */
	public Map<String, Object> getParam() {
		return param;
	}
	
	/**
	 * setParam.
	 * @param newParam the param to set
	 */
	public void setParam(final Map<String, Object> newParam) {
		this.param = newParam;
	} 

}
